import request from '@/utils/request'

// 获取新闻
export const getArticle = (params) => request.get('articles', { params })

// 获取新闻详情
export const articleDetail = (id) => request.get(`articles/${id}`)

// 获取评论或者评论回复
export const getComment = (params) => request.get('comments', { params })
